home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / modelers / geomview / source.lha / Geomview / src / bin / geomutil / plutil / Makefile.obj < prev    next >
Makefile  |  1993-11-02  |  495b  |  22 lines

  1. # this file contains the common part of the Makefiles for the object
  2. # (O.*) directories.
  3.  
  4. LIBS= -L${GEOM}/lib/${MACHTYPE} -lgeomutil -lstubdraw ${ALLOOGLLIBS} -lm
  5.  
  6. INCDIRS = -I${GEOM}/include -I/usr/local/include -I..
  7.  
  8. COPTS = -g
  9. CFLAGS = ${COPTS}  ${INCDIRS} 
  10.  
  11. polymerge: $$@.o
  12.     rm -f $@ ../$@
  13.     ${CC} ${CFLAGS} -o $@ $@.o -L${GEOM}/lib/${MACHTYPE} -loogl -lm
  14.     ln $@ ..
  15.  
  16. anytooff offconsol bdy: $$@.main.o
  17.     rm -f $@ ../$@
  18.     ${CC} ${CFLAGS} -o $@ $@.main.o ${LIBS}
  19.     ln $@ ..
  20.  
  21. install:    installbin
  22.